package util.mail;

public class MailInfo {
	private String host;
	private String formName;
	private String formPassword;
	private String replayAddress;
	private String toAddress;
	private String subject;
	private String content;
	private String contentImage;
	private String[] fileUrl;
	private String contentImageID;

	public MailInfo(String host, String formName, String formPassword,
			String replayAddress, String toAddress, String subject,
			String content, String contentImage, String[] fileUrl,
			String contentImageID) {
		super();
		this.host = host;
		this.formName = formName;
		this.formPassword = formPassword;
		this.replayAddress = replayAddress;
		this.toAddress = toAddress;
		this.subject = subject;
		this.content = content;
		this.contentImage = contentImage;
		this.fileUrl = fileUrl;
		this.contentImageID = contentImageID;
	}

	public static MailInfo MailInfoFactory(String host, String formName,
			String formPassword, String replayAddress, String toAddress,
			String subject, String content, String contentImage,
			String[] fileUrl, String contentImageID) {
		return new MailInfo(host, formName, formPassword, replayAddress,
				toAddress, subject, content, contentImage, fileUrl,
				contentImageID);
	}
	
	

	
	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getFormName() {
		return formName;
	}

	public void setFormName(String formName) {
		this.formName = formName;
	}

	public String getFormPassword() {
		return formPassword;
	}

	public void setFormPassword(String formPassword) {
		this.formPassword = formPassword;
	}

	public String getReplayAddress() {
		return replayAddress;
	}

	public void setReplayAddress(String replayAddress) {
		this.replayAddress = replayAddress;
	}

	public String getToAddress() {
		return toAddress;
	}

	public void setToAddress(String toAddress) {
		this.toAddress = toAddress;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContentImage() {
		return contentImage;
	}

	public void setContentImage(String contentImage) {
		this.contentImage = contentImage;
	}

	public String[] getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String[] fileUrl) {
		this.fileUrl = fileUrl;
	}

	public String getContentImageID() {
		return contentImageID;
	}

	public void setContentImageID(String contentImageID) {
		this.contentImageID = contentImageID;
	}

}
